home *** CD-ROM | disk | FTP | other *** search
/ Day Cry / Day Cry CD.bin / oh_towns / taropyon / silib / silib.lzh / PRG / SDKFS / MAKEFILE < prev    next >
Text File  |  1994-06-09  |  2KB  |  78 lines

  1. ######################################################################
  2. #    "makefile"
  3. ######################################################################
  4. #    <target> : <source(s)>
  5. #        <command>
  6. #---------------------------------------------------------------------
  7. #    $?            â^ü[âQâbâgéµéΦÉVé╡éóé╖é╫é─é╠â\ü[âXû╝
  8. #    $#            é╖é╫é─é╠â\ü[âXû╝é╔é¿é½é⌐éφéΦé▄é╖
  9. #    $&            $# é╞ô»é╢é┼é╖é¬üAègÆúÄqüi. éµéΦîπüjé¬ÄµéΦÅ£é⌐éΩé─éóé▄é╖
  10. #    $@            â^ü[âQâbâgû╝é╔é¿é½é⌐éφéΦé▄é╖
  11. #    $*            $@ é╞ô»é╢é┼é╖é¬üAègÆúÄqé¬ÄµéΦÅ£é⌐éΩé─éóé▄é╖
  12. #    $<            éPö╘ì╢é╔éáéΘâ\ü[âXû╝é╔é¿é½é⌐éφéΦé▄é╖
  13. #    $>            $< é╞ô»é╢é┼é╖é¬üAègÆúÄqé¬ÄµéΦÅ£é⌐éΩé─éóé▄é╖
  14. #    $:<ò╢ÄÜ>    
  15. #    ${ ... }    
  16. ######################################################################
  17.  
  18. #---------------------------------------------------------------------
  19. #    rules
  20. #
  21. .SUFFIXES: .asm .c
  22. CC     = run386 F:\HC_V17\BIN\hcd386p
  23. CFLAGS = -tmpi1 d:\tmp\t1 -tmpi2 d:\tmp\t2
  24. ASM    = 386asm
  25. AFLAGS = -twoc -nolist
  26. LINK   = run386 F:\HC_V17\BIN\386linkp
  27. LFLAGS = 
  28. .c.obj:
  29.     $(CC) $< $(CFLAGS) -object $@
  30. .asm.obj:
  31.     $(ASM) $< $(AFLAGS) -object $@
  32. .PATH : ./
  33.  
  34. #---------------------------------------------------------------------
  35. TARGET   = sdkfs.exp
  36. HC_PRO   = hc.pro
  37. HC_PATH  = F:\HC_V17
  38. LIB_PATH = $(HC_PATH)\LIB
  39. USR_LIBS = ../../LIB/kb2.lib ../../LIB/silib.lib
  40.  
  41. tags : $(HC_PRO) $(TARGET)
  42.     @echo - end -
  43.  
  44. $(HC_PRO) : makefile
  45.     @echo #pragma Off(Floating_point) > $@
  46.     @echo #pragma On(Optimize_for_space) >> $@
  47.     @echo #pragma Ipath("../../INC/") >> $@
  48.     @echo - make $(HC_PRO) -
  49.  
  50. #---------------------------------------------------------------------
  51. OBJS = \
  52.     OBJ/fselini.obj  OBJ/fseldsp.obj  \
  53.     OBJ/fseldrv.obj  OBJ/fselread.obj OBJ/fselsort.obj \
  54.     OBJ/fselev.obj   OBJ/fselmenu.obj \
  55.     OBJ/sdkfs.obj \
  56.     OBJ/dummy.obj
  57.  
  58. LNKS = \
  59.     $(OBJS) \
  60.     $(HC_PATH)\SMALL\c_printf.obj \
  61.     -lib \
  62.         $(USR_LIBS)                \
  63.         $(HC_PATH)\SMALL\hce    \
  64.         $(HC_PATH)\SMALL\na        \
  65.         $(LIB_PATH)\snd            \
  66.         $(LIB_PATH)\tbios        \
  67.         $(LIB_PATH)\fmcfrb        \
  68.         $(LIB_PATH)\t_os        \
  69.     -stack                12288 \
  70.     -nosymbol                    \
  71.     -twocase
  72.  
  73. sdkfs.exp : $(OBJS) $(USR_LIBS)
  74.     $(LINK) @${$(LNKS)} -exe $@
  75.     @del make.i
  76.     cp $@ H:/USR/SDK/sdkfs.exp
  77.  
  78.